package com.runshu.newsmartark.mvp.contract;


import com.runshu.newsmartark.network.netbean.ResponseBean;
import com.runshu.newsmartark.network.netinterface.BaseCallBack;

/**
 * Demo class
 *
 * @author yu
 * @date 2020/8/11
 * @decs：
 */

public interface ProductDtaContract {
    interface Model {

        void getProductInfo( String productName, String macAddress, int pageSize, int pageNum, BaseCallBack baseCallBack);


    }

    interface View {
        void onGetProductSuccess(ResponseBean responseBean);

        void onError(String msg);
    }

    interface Presenter {
        void getProductInfo( String productName, String macAddress, int pageSize, int pageNum);


    }
}
